package com.zmj.mapper;

import com.zmj.entity.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserInfoMapper {
    public boolean addInfo(UserInfo userInfo);
    public boolean updateInfo(UserInfo userInfo);
    public boolean delInfo(@Param(value = "status")int status,@Param(value = "id") int id);
    public List<UserInfo> selInfos(int status);
    public UserInfo selOneInfo(@Param(value = "status")int status,@Param(value = "id") int id);
}
